Add `drop` as alias for `nthcdr`
authorMattias Engdegård <mattiase@acm.org>
Sun, 28 Apr 2024 16:38:44 +0000 (18:38 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 29 Apr 2024 12:29:52 +0000 (14:29 +0200)
commit8718a7c7062eb562e2fda0dee5f7bfddb0861f1d
treec08c942a0dfa809007f2fe121549600252b13457
parent9b1e44c7fb5281688488ec077c048e268b716ad2
Add `drop` as alias for `nthcdr`

It's a common name for this function and symmetric with respect to
`take`.  It's also a lot less awkward to type and say.

* lisp/subr.el (drop): New alias.
* doc/lispref/lists.texi (List Elements): Document.  Mention the
equation tying `take` and `drop` together.
* etc/NEWS: Announce.
doc/lispref/lists.texi
etc/NEWS
lisp/subr.el